package dome2;

public class Student extends Person{
    public Student(String name,int age){
        super("叶叶",18);
        System.out.println("子类构造方法被执行了......");
    }
    static{
        System.out.println("子类静态代码块被执行了......");
    }

    {
        System.out.println("子类实例代码块被执行了......");
    }
    public void testStudent(){
        super.testPerson();
        System.out.println("子类成员方法被执行了......");
    }
}
